package com.nlp.visualization.service;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.io.IOException;
import java.util.List;

public interface IFileService {
//
//    /**
//     * 文件上传服务
//     *
//     * @param request
//     * @param response
//     * @return
//     */
//    File upload(HttpServletRequest request, HttpServletResponse response) throws IOException;

    /**
     * 多文件上传服务
     *
     * @param request
     * @param response
     * @return
     */
    List<File> upload(HttpServletRequest request, HttpServletResponse response,String saveDir) throws IOException;


}
